lib_gpio: GPIO abstraction for multibit ports

FAVOURITE VERSION RELEASED COMMENTS DOCUMENTATION SOFTWARE
2.2.1 2025-08-27 Minor update to improve documentation VIEW HTML VIEW PDF ZIP
View older versions
2.2.0 2025-06-24 GPIO examples updated to run on xcore.ai and support new tools and build system ZIP ZIP
INFO

Summary

lib_gpio provides access to xcore ports as low-speed GPIO.

While xcore ports can be accessed directly using the xC programming language, this library offers more flexibility. In particular, it supports splitting a multi-pin input/output port so that the individual pins can be used independently. It also enables accessing ports across separate xcore tiles or even across different xcore devices.

Features

  • Abstract interface to GPIO functionality of xcore ports

  • Allow control of individual bits of multi-bit ports

  • Allow access to ports across tiles

Known issues

  • None

Development repo

Required tools

  • XMOS XTC Tools: 15.3.1

Required libraries (dependencies)

Support

This package is supported by XMOS Ltd. Issues can be raised against the software at www.xmos.com/support or using GitHub issues.

Scroll to Top
Secret Link